/**
 * Copyright (C), 2015-2021, XXX有限公司
 * FileName: XjfWorkOrderEntryResult
 * Author:   Administrator
 * Date:     2021/8/6 0006 11:22
 * Description:
 * History:
 * <author>          <time>          <version>          <desc>
 * 作者姓名           修改时间           版本号              描述
 */
package cn.hxlc.tie.demo.modular.jf.model.result;

import cn.hxlc.tie.demo.core.enums.StorageEnum;
import cn.hxlc.tie.libs.scanner.stereotype.EntityResource;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 〈一句话功能简述〉<br> 
 * 〈返回分录〉
 *
 * @author jf.xu
 * @create 2021/8/6 0006
 * @since 1.0.0
 */
@Data
@ApiModel
@EntityResource(entityName = "jf生产批号",enableTagPrint = true)
public class XjfWorkOrderEntryResult implements Serializable{

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("ID")
    private Long fid;

    @ApiModelProperty("表头id")
    private Long fparentid;

    @ApiModelProperty("第三方ID")
    private Long foid;

    @ApiModelProperty("生产批号")
    private String flot;

    @ApiModelProperty("产品")
    private Long fmaterialid;

    @ApiModelProperty("产品名称")
    private String fmaterialname;

    @ApiModelProperty("产品名称")
    private String fmaterialmodel;

    @ApiModelProperty("产品名称")
    private String fmaterialnumber;

    @ApiModelProperty("产品简称")
    private String fsimplename;

    @ApiModelProperty("计量单位")
    private Long funitid;

    @ApiModelProperty("计量单位名称")
    private String funitname;

    @ApiModelProperty("入库方式")
    private StorageEnum finstoretype;

    @ApiModelProperty("预计产量")
    private BigDecimal fqty;

    @ApiModelProperty("合格数量")
    private BigDecimal fgoodqty;

    @ApiModelProperty("不合格数量")
    private BigDecimal fbadqty;

    @ApiModelProperty("报工数量")
    private BigDecimal fdoneqty;

    @ApiModelProperty("领料数量")
    private BigDecimal freqqty;

    @ApiModelProperty("入库数量")
    private BigDecimal finstoreqty;

    @ApiModelProperty("计划完工时间")
    private Date fplanenddate;

    @ApiModelProperty("实际完工时间")
    private Date frealenddate;
}
